{{ $baseUrl := .Site.BaseURL }}
<div class="col-xs-12 col-sm-3 doc-sidebar">
	<div class="sidebar-module">
		<div class="sidebar-toc">
			<h4>Table of Contents</h4>
			<ul>
				<li><strong><a href="#title">{{ .Title }}</a></strong></li>
			</ul>
			{{ .TableOfContents }}
		</div>
	</div>
	<div class="sidebar-module">
		<h4>Tags</h4>
		<div class="tag-box">
		{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
        {{ range first 1 (where $taxonomy.Pages "Section" "post") }}
		<a class="tag-item" href="{{ $baseUrl }}/tags/{{ $name | urlize }}">{{ $name }}</a>
        {{ end }}
		{{ end }}
		</div>
	</div>
</div><!-- /.doc-sidebar -->
